home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-06-29 | 2.4 KB | 57 lines | [TEXT/GEOL] |
- Item 3053061 28-June-90 17:04PDT
-
- From: D2652 Strategic Planning Sys, D Bell,PRT
-
- To: MACAPP.TECH$ MacApp Technical
- MACDTS Macintosh Developer Tech Supt
-
- Sub: Getting SADE to work?
-
- Gentlemen:
-
- I am having a bit of a problem getting my application to work with SADE.
-
- I am using MacApp 2.0 Final, MPW 3.1, Sade 1.1, MacIIcx, 8 meg ram
- I have the following code in my sade userstartup file
- ###############################################################################
- # SADEUserStartup -- where to add your own startup stuff
- # uncomment the following line if you frequently debug
- # MacApp and Object Pascal
- # see the SADE New User Worksheet for more information
- # execute concat(SADEDir,'SADEScripts:StepMethod')
- # Debugging Object Pascal and MacApp
- # first, set the appropriate directory
- directory 'MacIIcx:MPW:MacApp:Don:.Debug Sym:'
- # target your application
- target 'QMv2' # assumes symbol file is 'application name.SYM'
- # set Sourcepath to include other source files, including the MacApp sources
- sourcepath 'MacIIcx:MPW:MacApp:Don:', 'MacIIcx:MPW:MacApp:Libraries:'
- # open the file containing your main program
- open source 'MacIIcx:MPW:MacApp:Don:UQMv2.inc1.p'
- # select the statement following the call to InitUMacApp
- # and choose the 'Go Til' command from the SourceCmds menu
- # when SADE is reentered, execute the following commands
- # execute concat(SADEDir,'SADEScripts:StepMethod.init')
- # setupStepMethod
- # execute the following line. It is also in SADEUserStartup, commented out.
- # if you are going to debug MacApp a lot, uncomment the line, and the
- StepIntoMethod
- # will be defined automatically
- # execute concat(SADEDir,'SADEScripts:StepMethod')
- # and you're ready to go.
- # just use the 'Step Into' menu item from the SourceCmds menu to step into a
- method.
- ###############################################################################
- I start SADE then use GO to get into my application. After I am in my
- application I press Command-Option-. (I have not re-defined the SADE key) and
- the MacApp debugger tells me:
- exception #3 exception frame address = $00651298
- PC = $007aa240
- Address error: Word or long-word reference made to an odd address
-
- I would appreciate any assistance you could provide to get sade to work for me.
-
- Donald Bell
- Strategic Planning Systems
-
-